package org.ksystem.common.common;

import java.util.Date;
import java.util.HashMap;

/**
 * 标题、简要说明. <br>
 * 类详细说明.
 * <p>
 * Copyright: Copyright (c) 2014年7月30日 下午5:07:25
 * <p>
 * Company: 网龙公司
 * <p>
 * 
 * @author Shunqin.Chen
 * @version 1.0.0
 */
public class ValueObject {

    private HashMap<String, Object> paramCreate;

    private HashMap<String, Object> paramUpdate;

    private HashMap<String, Object> paramDel;

    private Byte isDeleted;

    private Date createTime;

    private Long createBy;

    private Long updateBy;

    private Date updateTime;

    /**
     * 构造
     */
    public ValueObject() {
        paramCreate = new HashMap<String, Object>();
        paramCreate.put("setCreateBy", "getUserId");
        paramCreate.put("setCreateTime", "DateUtil.getNow(DateEnum.YYYYMMDDHHMMSSSSS)");
        paramCreate.put("setIsDeleted", Constants.VALIDFLAG_FALSE);

        paramUpdate = new HashMap<String, Object>();
        paramUpdate.put("setUpdateBy", "getUserId");
        paramUpdate.put("setUpdateTime", "DateUtil.getNow(DateEnum.YYYYMMDDHHMMSSSSS)");
        paramUpdate.put("setIsDeleted", Constants.VALIDFLAG_FALSE);

        paramDel = new HashMap<String, Object>();
        paramUpdate.put("setUpdateBy", "getUserId");
        paramUpdate.put("setUpdateTime", "DateUtil.getNow(DateEnum.YYYYMMDDHHMMSSSSS)");
        paramDel.put("setIsDeleted", Constants.VALIDFLAG_TRUE);
    }

    public HashMap<String, Object> getParamCreate() {
        return paramCreate;
    }

    public void setParamCreate(HashMap<String, Object> paramCreate) {
        this.paramCreate = paramCreate;
    }

    public HashMap<String, Object> getParamUpdate() {
        return paramUpdate;
    }

    public void setParamUpdate(HashMap<String, Object> paramUpdate) {
        this.paramUpdate = paramUpdate;
    }

    public HashMap<String, Object> getParamDel() {
        return paramDel;
    }

    public void setParamDel(HashMap<String, Object> paramDel) {
        this.paramDel = paramDel;
    }

    public Byte getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Byte isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}
